<template>
	<view class="search_container">
		<view class="search_box" @click="goSearch">
			<uni-icons type="search" size="17"></uni-icons>
			<text class="txt">搜索</text>
		</view>
		
	</view>
</template>

<script>
	export default {
		name: "my-search",
		data() {
			return {

			};
		},
		methods:{
			goSearch(){
				  uni.navigateTo({
				       url: '/subpkg/my_search/my_search'
				    })
			}
		}
	}
</script>

<style lang="scss">
.search_container{
	padding: 7px 10px;
	background-color: #d81e06;
	.search_box{
		height: 36px;
		width: 100%;
		background-color: #fff;
		border-radius: 18px;
		display: flex;
		justify-content: center;
		align-items: center;
		.txt{
			margin-left: 3px;
			font-size: 15px;
		}
	}
}
</style>
